package com.soft.model;

public class Villa {
	private int id;
	private String villaName;
	private String addTime;
	private String villaDescription;
	private double villaPrice;
	private int storeId;
	private String imgPath;
	
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getVillaName() {
		return villaName;
	}
	public void setVillaName(String villaName) {
		this.villaName = villaName;
	}
	public String getAddTime() {
		if (addTime != null && addTime.contains(".0")) {
			addTime = addTime.replace(".0", "");
		}
		return addTime;
	}
	public void setAddTime(String addTime) {
		this.addTime = addTime;
	}
	public String getVillaDescription() {
		return villaDescription;
	}
	public void setVillaDescription(String villaDescription) {
		this.villaDescription = villaDescription;
	}
	public double getVillaPrice() {
		return villaPrice;
	}
	public void setVillaPrice(double villaPrice) {
		this.villaPrice = villaPrice;
	}
	public int getStoreId() {
		return storeId;
	}
	public void setStoreId(int storeId) {
		this.storeId = storeId;
	}
	public String getImgPath() {
		return imgPath;
	}
	public void setImgPath(String imgPath) {
		this.imgPath = imgPath;
	}
	
}
